#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time       :   11:40
# Author     : Y4
# Site       : 
# File       : 05 字符串-大小写.py
# Software   : PyCharm

'''

'''


url = 'www.baodu.com'
print(url.upper())         # WWW.BAODU.COM
print(url.lower())          # www.baodu.com
print(url.title())          # Www.Baodu.Com
print(url.capitalize())     # Www.baodu.com
print(url.swapcase())       # 将字符串大写转小写,小写转大写 WWW.BAODU.COM